<template>
	<aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig"></aplid-base-crud>
</template>

<script setup lang="ts">
const rowData: any = inject('nowRowData')
const baseConfig = {
	pageName: '补贴记录',
	dictcodes: ['ORG_TYPE', 'ORG_LEVEL'],
	rowKey: 'roleId',
	api: {
		index: 'view_dpSubsidyInfo_page',
	},
	auth: {
		index: 'view_dpSubsidyInfo_page',
	},
	paramsObj: {
		idCard: rowData.idCard,
	},
	menuBtn: [],
	tableConfig: {
		stripe: true,
		border: false,
		tableLayout: 'auto',
		columns: [
			{
				label: '补贴类型',
				prop: 'subsidyType',
			},
			{
				label: '补贴标准',
				prop: 'subsidyStandard',
			},
			{
				label: '补贴标准补贴年限',
				prop: 'subsidyDate',
			},
			{
				label: '补贴金额',
				prop: 'subsidyAmount',
			},
		],
	},
}
</script>

<style scoped></style>
